for num in range(1, 101):
    # 判断是否是7的倍数，或数字中包含7
    if num % 7 == 0 or '7' in str(num):
        print("拍手")
    else:
        print(num)